package twoD.Csg;

public interface IPrimitive {

	/**
	 * check whether point p is inside or outside the primitive
	 * 
	 * @param p
	 *            point coordinate
	 * @return true if p is inside or lying on the boundary of the primitive;
	 *         false, otherwise
	 */
	boolean contain(double...p);

	void setTransformation(Transformation T);

	Transformation getTransformation();

}
